package com.jianhua.appmarket.common.base;

import java.util.List;

public interface BaseDao<T extends BaseEntity> {

    int insert(T t);

    T getById(Long id);

    List<T> listAll();

    int deleteById(Long id);

    int update(T t);
}
